package service;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public interface IServiceGenericInvoker {
	/**
	 * @param controllerClassPath The complete path to the server-based controller class.
	 * @param methodName The name of the method to be invoked.
	 * @param parameterList the list of parameters to be invoked.
	 * @return
	 */
//	@ResponseWrapper(targetNamespace="http://localhost:8080/genericWebServerInvoker",
//            className="service.WebServiceReturnType")
            
        
	@WebMethod
	public WebServicePojo invoke(@WebParam(name = "controllerClassPath")
	String controllerClassPath, @WebParam(name = "methodName")
	String methodName, @WebParam(name="parameterList")Object [] parameterList);
	
	@WebMethod
	public void updateModel (@WebParam(name = "controllerClassPath")
			String controllerClassPath, @WebParam(name="parameterList")WebServicePojo webServicePojo);
	
	@WebMethod
	public WebServicePojo getModelData(String controllerId);
	
}
